package com.lst.api.service;

import com.lst.api.entity.WorkCompanyInfo;
import com.lst.api.vo.WorkCompanyInfoVo;
import com.lst.tools.mybatis.service.IBaseService;

/**
 * 工作单位信息业务层
 *
 * @author Frank
 * @date 2019-12-30 10:31:38
 * @version: V1.0
 */
public interface IWorkCompanyInfoService extends IBaseService<WorkCompanyInfo> {
    /**
     * 保存
     *
     * @param userId
     * @param applyNo
     * @param workCompanyInfoVo
     * @return
     */
    boolean saveOrUpdate(long userId, String applyNo, WorkCompanyInfoVo workCompanyInfoVo);

    /**
     * 根据申请编号获取申请信息
     *
     * @param applyNo
     * @return
     */
    WorkCompanyInfo getByApplyNo(String applyNo);
}
